package polestar.Feature;

import java.util.ArrayList;

/**
 * @description:
 * @author: 张德长 dechang.zhang@ucarinc.com
 * @date: 17:15:02 2018/11/23
 * @version:2.0
 */
public class Feature {
    public static ArrayList<String> performWithoutEqual(ArrayList list) {
        ArrayList<String> arr = new ArrayList<String>();
        for (int i = 0; i < list.size(); i++) {
            String obj = (String) list.get(i);
            if ("和".equals(obj)) {
                continue;
            }
            arr.add(obj);
        }
        return arr;
    }

    public static ArrayList<String> performWithEqual(ArrayList list) {
        ArrayList<String> arr = new ArrayList<String>();
        for (int i = 0; i < list.size(); i++) {
            String obj = (String) list.get(i);
            arr.add(obj);
        }
        return arr;
    }

}
